package com.dtw.ditouwang.beans;

import java.util.List;

public class ProductBean {

    /**
     * flag : Success
     * msg : 查询成功!
     * result : true
     * data : [{"id":8,"commodity_name":"鞋子","gold_price":47,"price":103,"commodity_number":47,"cover":"/public/uploads/20190123/dc574f59403f815537c8247e2f9e7a57.jpg","is_del":"0","add_time":"2019-01-23 16:03:18","business":"耐克"},{"id":9,"commodity_name":"阿迪鞋子","gold_price":62,"price":154,"commodity_number":20,"cover":"/public/uploads/20190123/553e0910ce82d64f06f12217dc2e935f.jpg","is_del":"0","add_time":"2019-01-23 16:04:45","business":"阿迪"}]
     */

    private String flag;
    private String msg;
    private boolean result;
    private List<DataBean> data;

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 8
         * commodity_name : 鞋子
         * gold_price : 47
         * price : 103
         * commodity_number : 47
         * cover : /public/uploads/20190123/dc574f59403f815537c8247e2f9e7a57.jpg
         * is_del : 0
         * add_time : 2019-01-23 16:03:18
         * business : 耐克
         */

        private int id;
        private String commodity_name;
        private double gold_price;
        private double price;
        private int commodity_number;
        private String cover;
        private String is_del;
        private String add_time;
        private String business;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getCommodity_name() {
            return commodity_name;
        }

        public void setCommodity_name(String commodity_name) {
            this.commodity_name = commodity_name;
        }

        public double getGold_price() {
            return gold_price;
        }

        public void setGold_price(double gold_price) {
            this.gold_price = gold_price;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public int getCommodity_number() {
            return commodity_number;
        }

        public void setCommodity_number(int commodity_number) {
            this.commodity_number = commodity_number;
        }

        public String getCover() {
            return cover;
        }

        public void setCover(String cover) {
            this.cover = cover;
        }

        public String getIs_del() {
            return is_del;
        }

        public void setIs_del(String is_del) {
            this.is_del = is_del;
        }

        public String getAdd_time() {
            return add_time;
        }

        public void setAdd_time(String add_time) {
            this.add_time = add_time;
        }

        public String getBusiness() {
            return business;
        }

        public void setBusiness(String business) {
            this.business = business;
        }
    }
}
